package router

import (
	"api/internal/handler"
	"github.com/gin-gonic/gin"
)

func SetMessageRouter(c *gin.RouterGroup) {
	messageRouter := c.Group("message")
	{
		messageRouter.POST("/create", handler.MessageCreate)
		messageRouter.GET("/list", handler.MessageShow)
		messageRouter.PUT("/update", handler.MessageUpdate)
	}
}
